package com.fee1in;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;

class PooledDataSource extends DataSource {

    public PooledDataSource(Properties properties) {
        super(properties);
    }

    @Override
    public Connection getConnection() throws ClassNotFoundException, SQLException {
        Connection connection = null;
//        Class.forName(driver);
        connection = DriverManager.getConnection(url, username, password);
        return connection;
    }

}
